// ==UserScript==
// @name         Sina Blog Flash Alert Block
// @namespace    http://tampermonkey.net/
// @version      0.2.1
// @homepage, @homepageURL, @website, @source       https://gitee.com/itech/other/edit/master/tampermonkey/SinaBlogFlashBlock.js
// @description  try to take over the world!
// @author       You
// @match        http://blog.sina.com.cn/*
// @grant        none
// @require      http://code.jquery.com/jquery-latest.js
// ==/UserScript==

var lee_si;

(function() {
    'use strict';

    // Your code here...
    //$('.CP_w_shut[id$=_btnClose][id^=_]').click();
    lee_si = setInterval(function() {
        var al = $('[id$=_btnClose][id^=_]');
        //console.info(al);
        if (al[0]) {
            al[0].click();
            clearInterval(lee_si);
            $('#ramdomVisitDiv').remove();
        }
    }, 1000);
})();